home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sound Blastoff
/
Sound Blastoff.iso
/
Sound Utilities
/
Async Family 1.14
/
Expert user's utilities
/
Mr.PostOffice APPL
/
Mr.PostOffice APPL.rsrc
/
CODE_2.txt
< prev
next >
Wrap
Text File
|
1992-06-13
|
4KB
|
81 lines
# near model CODE resource
# jump table entries: 80-80 (1 of them)
export_10:
00000000 48E7 0308 movem.l -[A7], D6,D7,A4
00000004 A063 syscall MaxApplZone
00000006 A036 syscall MoreMasters
00000008 A036 syscall MoreMasters
0000000A A036 syscall MoreMasters
0000000C 486D FFC2 pea.l [A5 - 0x3E]
00000010 A86E syscall InitGraf
00000012 A8FE syscall InitFonts
00000014 A912 syscall InitWindows
00000016 A930 syscall InitMenus
00000018 A9CC syscall TEInit
0000001A A850 syscall InitCursor
0000001C 42A7 clr.l -[A7]
0000001E A97B syscall InitDialogs
00000020 2F3C 0000 FFFF move.l -[A7], 0xFFFF
00000026 201F move.l D0, [A7]+
00000028 A032 syscall FlushEvents
0000002A 42A7 clr.l -[A7]
0000002C 3F3C 0080 move.w -[A7], 0x80
00000030 486D FFC6 pea.l [A5 - 0x3A]
00000034 A931 syscall NewMenu
00000036 285F movea.l A4, [A7]+
00000038 2F0C move.l -[A7], A4
0000003A 4267 clr.w -[A7]
0000003C A935 syscall InsertMenu
0000003E 42A7 clr.l -[A7]
00000040 3F3C 0081 move.w -[A7], 0x81
00000044 486D FFC8 pea.l [A5 - 0x38]
00000048 A931 syscall NewMenu
0000004A 285F movea.l A4, [A7]+
0000004C 2F0C move.l -[A7], A4
0000004E 4267 clr.w -[A7]
00000050 A935 syscall InsertMenu
00000052 A937 syscall DrawMenuBar
00000054 4267 clr.w -[A7]
00000056 2F3C 464B 4559 move.l -[A7], 0x464B4559 /* 'FKEY' */
0000005C A80D syscall Count1Resources
0000005E 3E1F move.w D7, [A7]+
00000060 4A47 tst.w D7
00000062 6F34 ble +0x36 /* 00000098 */
00000064 7C01 moveq.l D6, 0x01
00000066 602A bra +0x2C /* 00000092 */
label00000068:
00000068 42A7 clr.l -[A7]
0000006A 2F3C 464B 4559 move.l -[A7], 0x464B4559 /* 'FKEY' */
00000070 3F06 move.w -[A7], D6
00000072 A80E syscall Get1IndResource/Get1IxResource
00000074 285F movea.l A4, [A7]+
00000076 200C move.l D0, A4
00000078 6716 beq +0x18 /* 00000090 */
0000007A 204C movea.l A0, A4
0000007C A064 syscall MoveHHi
0000007E 204C movea.l A0, A4
00000080 A029 syscall HLock
00000082 2F14 move.l -[A7], [A4]
00000084 205F movea.l A0, [A7]+
00000086 4E90 jsr [A0]
00000088 204C movea.l A0, A4
0000008A A02A syscall HUnlock
0000008C 2F0C move.l -[A7], A4
0000008E A9A3 syscall ReleaseResource
label00000090:
00000090 5246 addq.w D6, 1
label00000092:
00000092 BE46 cmp.w D7, D6
00000094 6CD2 bge -0x2C /* 00000068 */
00000096 600C bra +0xE /* 000000A4 */
label00000098:
00000098 4267 clr.w -[A7]
0000009A 3F3C 0080 move.w -[A7], 0x80
0000009E 42A7 clr.l -[A7]
000000A0 A985 syscall Alert
000000A2 3E1F move.w D7, [A7]+
label000000A4:
000000A4 A9F4 syscall ExitToShell
000000A6 4CDF 10C0 movem.l D6,D7,A4, [A7]+
000000AA 4E75 rts